﻿using _1_Interfaces.Models.Dtos.Cjw;
using _1_Interfaces.Models.Tables.Cjw;
using System;
using System.Collections.Generic;
using System.Text;

namespace _1_Interfaces.Interfaces.Cjw
{
    /// <summary>
    /// 科室病床表服务
    /// </summary>
    public interface ISickBedListService
    {
        /// <summary>
        /// 获取病床列表
        /// </summary>
        /// <param name="sickBedListDto"></param>
        /// <returns></returns>
        SickBedListOutDto GetSickBedList(SickBedListDto sickBedListDto);

        /// <summary>
        /// 新增病床
        /// </summary>
        /// <param name="sickBedListAddDto"></param>
        /// <returns></returns>
        bool InsertSickBed(SickBedListAddDto sickBedListAddDto);

        /// <summary>
        /// 修改病床
        /// </summary>
        /// <param name="sickBedList"></param>
        /// <returns></returns>
        bool UpdateSickBed(SickBedList sickBedList);

        /// <summary>
        /// 病床状态修改
        /// </summary>
        /// <param name="sickBedListStateDto"></param>
        /// <returns></returns>
        bool UpdateBedState(SickBedListStateDto sickBedListStateDto);

        /// <summary>
        /// 删除病床
        /// </summary>
        /// <param name="sickBedIds"></param>
        /// <returns></returns>
        bool DeleteSickBed(List<int> sickBedIds);

        /// <summary>
        /// 小程序端的亲戚查询病床
        /// </summary>
        /// <param name="patientName">病人姓名</param>
        /// <param name="phoneNumber">病人电话号码</param>
        /// <returns></returns>
        SickBedAppSearchDto AppSearch(string patientName, string phoneNumber);
    }
}
